<% presenter = ::Layouts::AppRouterPresenter.new(self, @course) %>

<% content_for(:viewport) do %>
  <meta name="viewport"/>
<% end %>
<% content_for(:head) do %>
  <%= vite_javascript_tag 'school', nonce: true %>
<% end %>
<% content_for(:wrapper) do %>
  <script id="school-router-data" type="application/json">
    <%= presenter.props_to_json.html_safe %>
  </script>
  <div id="school-router"></div>
  <%= yield %>
<% end %>
<%= render template: 'layouts/application' %>
